package com.itheima.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class Dish extends BaseEntity implements Serializable {
    private String id;
    private Integer type;
    private String name;
    private String categoryId;
    private Integer price;
    private String code;
    private String image;
    private String description;
    private Integer status;
    private Integer sort;
    private String categoryName;
    private String copies;
    @TableField(exist = false)
    private List<DishFlavors> flavors;
}
